package com.steptime.designpattern.creational.simplefactory;

public class Client {
    public static void main(String[] args) {
        RuleConfigSource ruleConfigSource = new RuleConfigSource();
        try {
            ruleConfigSource.load("config.xml");
            ruleConfigSource.load("config.json");
            ruleConfigSource.load("config.yaml");
        } catch (InvalidRuleConfigException e) {
            e.printStackTrace();
        }
    }
}
